package com.lz.autotest.project.system.mapper;


import com.lz.autotest.project.system.domain.perm.*;

import java.util.List;
import java.util.Map;

/**
 * 部门权限
 */
public interface SysDeptPermMapper {


    public List<SysDeptPerm> selectDeptPermList(SysDeptPerm deptPerm);

    public List<SysDeptPerm> selectAllDeptPermList();


    public SysDeptPerm selectDeptPermListByDeptId(String deptId);




    public int insertDeptPerm(SysDeptPerm deptPerm);

    /**
     * 批量新增部门权限列表
     * @param deptPermList 部门权限列表
     * @return 结果
     */
    public int batchDeptPerm(List<SysDeptPerm> deptPermList);



    public int updateDeptPerm(SysDeptPerm deptPerm);


    public List<Map> selectAllAccount();

    public List<Map> selectAllGroup();

    public List<Map> selectAllCfg();

    public int deleteDeptPermById(String deptId);

    public int deleteDeptPermByIds(String[] deptIds);


    public int clearDeptPerm(String[] deptIds);
    public int clearDeptPermDetail(String[] deptIds);

    public List<AccDept> selectDeptAccPermList(AccDept accDept);

    public List<GroupDept> selectDeptGroupPermList(GroupDept accDept);

    public List<CfgDept> selectDeptCfgPermList(CfgDept cfgDept);

    public List<IrcDept> selectDeptIrcPermList(IrcDept ircDept);

    public List<DivDept> selectDeptDivPermList(DivDept divDept);

    public List<VlsDept> selectDeptVlsPermList(VlsDept vlsDept);

}
